home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / GMS / GMSDev / Includes / system / sysobject.i < prev    next >
Encoding:
Text File  |  1998-04-16  |  4.0 KB  |  105 lines

  1.     IFND SYSTEM_SYSOBJECT_I
  2. SYSTEM_SYSOBJECT_I  SET  1
  3.  
  4. **
  5. **    $VER: sysobject.i V1.0
  6. **
  7. **    (C) Copyright 1996-1998 DreamWorld Productions.
  8. **        All Rights Reserved
  9. **
  10.  
  11.     IFND    DPKERNEL_I
  12.     include    'dpkernel/dpkernel.i'
  13.     ENDC
  14.  
  15. ******************************************************************************
  16. * The SysObject structure.
  17.  
  18. VER_SYSOBJECT  = 1
  19. TAGS_SYSOBJECT = ((ID_SPCTAGS<<16)|ID_SYSOBJECT)
  20.  
  21.    STRUCTURE    SysObject,HEAD_SIZEOF
  22.     APTR    SO_Prev          ;Previous object in the list.
  23.     APTR    SO_Next          ;Next object in the list.
  24.     WORD    SO_ObjectID      ;ID for the object (eg ID_PICTURE, ID_HIDDEN).
  25.     WORD    SO_ClassID       ;ID for the class.
  26.     APTR    SO_Name          ;String pointer to the name of this object.
  27.     APTR    SO_CopyToUnv     ;> Copy to universe.
  28.     APTR    SO_CopyFromUnv   ;> Copy from universe.
  29.     APTR    SO_CheckFile     ;> Check for file recognition.
  30.     APTR    SO_Load          ;> Load a file that belongs to this object.
  31.     APTR    SO_Show          ;> Make an object visible to the user.
  32.     APTR    SO_Get           ;> Get object.
  33.     APTR    SO_Free          ;> Free object.
  34.     APTR    SO_Init          ;> Initialise object.
  35.     APTR    SO_Read          ;> Read some data from the object.
  36.     APTR    SO_Write         ;> Write some data to the object.
  37.     APTR    SO_Rename        ;> Rename an object.
  38.     APTR    SO_Hide          ;> Hide/Remove the object from the display.
  39.     APTR    SO_yy03          ;>
  40.     APTR    SO_SaveToFile    ;> Save this entire object as a file.
  41.     APTR    SO_Query         ;> Query the information held on this object.
  42.     APTR    SO_Activate      ;> Perform the native action for this object.
  43.     APTR    SO_Deactivate    ;> End the native action for this object.
  44.     APTR    SO_Draw          ;> Draw an object inside its container.
  45.     APTR    SO_Clear         ;> Clear an object from its container.
  46.     APTR    SO_Reset         ;> Reset the object.
  47.     APTR    SO_Flush         ;> Flush any buffered data in the object.
  48.     APTR    SO_TagTrigger    ;> Special routine handled by TagInit().
  49.     APTR    SO_Master        ;Reference to master if this is a child.
  50.     APTR    SO_yy00          ;>
  51.     APTR    SO_Unlock        ;> Unlock an object.
  52.     APTR    SO_DetachParent  ;> Detach a parent from a child.
  53.     APTR    SO_DetachChild   ;> Detach a child from a parent.
  54.     APTR    SO_Unhook        ;> Unhook an object from a chain.
  55.     APTR    SO_MoveToBack    ;> Move the position of an object to the back.
  56.     APTR    SO_MoveToFront   ;> Move the position of an object to the back.
  57.     APTR    SO_FileExtension ;Pointer to the file extension string.
  58.     APTR    SO_FileDesc      ;Pointer to a description of the file type.
  59.     APTR    SO_Copy          ;>
  60.     APTR    SO_Lock          ;>
  61.     APTR    SO_Seek          ;>
  62.     APTR    SO_AttemptExclusive ;>
  63.     APTR    SO_yy01          ;>
  64.     APTR    SO_FreeExclusive ;>
  65.  
  66. SOA_CopyToUnv        = TAPTR|SO_CopyToUnv
  67. SOA_CopyFromUnv      = TAPTR|SO_CopyFromUnv
  68. SOA_CheckFile        = TAPTR|SO_CheckFile
  69. SOA_Load             = TAPTR|SO_Load
  70. SOA_Show             = TAPTR|SO_Show
  71. SOA_Get              = TAPTR|SO_Get
  72. SOA_Free             = TAPTR|SO_Free
  73. SOA_Init             = TAPTR|SO_Init
  74. SOA_Read             = TAPTR|SO_Read
  75. SOA_Write            = TAPTR|SO_Write
  76. SOA_Rename           = TAPTR|SO_Rename
  77. SOA_Hide             = TAPTR|SO_Hide
  78. SOA_yy03             = TAPTR
  79. SOA_SaveToFile       = TAPTR|SO_SaveToFile
  80. SOA_Query            = TAPTR|SO_Query
  81. SOA_Activate         = TAPTR|SO_Activate
  82. SOA_Deactivate       = TAPTR|SO_Deactivate
  83. SOA_Draw             = TAPTR|SO_Draw
  84. SOA_Clear            = TAPTR|SO_Clear
  85. SOA_Reset            = TAPTR|SO_Reset
  86. SOA_Flush            = TAPTR|SO_Flush
  87. SOA_TagTrigger       = TAPTR|SO_TagTrigger
  88. SOA_yy00         = TAPTR
  89. SOA_Unlock         = TAPTR|SO_Unlock
  90. SOA_DetachParent     = TAPTR|SO_DetachParent
  91. SOA_DetachChild      = TAPTR|SO_DetachChild
  92. SOA_Unhook           = TAPTR|SO_Unhook
  93. SOA_MoveToBack       = TAPTR|SO_MoveToBack
  94. SOA_MoveToFront      = TAPTR|SO_MoveToFront
  95. SOA_FileExtension    = TAPTR|SO_FileExtension
  96. SOA_FileDesc         = TAPTR|SO_FileDesc
  97. SOA_Copy             = TAPTR|SO_Copy
  98. SOA_Lock             = TAPTR|SO_Lock
  99. SOA_Seek             = TAPTR|SO_Seek
  100. SOA_AttemptExclusive = TAPTR|SO_AttemptExclusive
  101. SOA_yy01             = TAPTR
  102. SOA_FreeExclusive    = TAPTR|SO_FreeExclusive
  103.  
  104.   ENDC    ;SYSTEM_SYSOBJECT_I
  105.